//将所有图片用数组存储起来，然后写入localstorage保存，实现多页面共用
let arr = [{
    urlImg: '../images/15.jpg',
    goods: 'Redmi Note 11 Pro系列',
    introduce: 'Redmi Note 11 Pro系列',
    price: '1799.00',
    id: 'rnp',
}, {
    urlImg: '../images/16.jpg',
    goods: 'Redmi Note 11 5G',
    introduce: 'Redmi Note 11 5G',
    price: '1199.00',
    id: 'rn'
}, {
    urlImg: '../images/17.jpg',
    goods: '黑鲨4S',
    introduce: '磁动力升降肩键',
    price: '2699.00',
    id: 'hs'
}, {
    urlImg: '../images/18.jpg',
    goods: '黑鲨4S Pro',
    introduce: '磁动力升降肩键',
    price: '5499.00',
    id: 'hsp'
}, {
    urlImg: '../images/19.jpg',
    goods: 'Xiaomi Civi',
    introduce: 'Xiaomi Civi',
    price: '2599.00',
    id: 'xc'
}, {
    urlImg: '../images/20.jpg',
    goods: 'Xiaomi MIX 4',
    introduce: 'CUP全面屏',
    price: '4199.00',
    id: 'xm'
}, {
    urlImg: '../images/21.jpg',
    goods: 'Redmi Note 10 Pro',
    introduce: '天玑1100年度旗舰芯',
    price: '1499.00',
    id: 'RN'
}, {
    urlImg: '../images/22.jpg',
    goods: 'Redmi Note 10 5G',
    introduce: '5G小金刚 | 旗舰长续航',
    price: '1099.00',
    id: 'ren'
}, {
    urlImg: '../images/23.jpg',
    //goods:'Redmi Note 10 5G',
    //introduce:'5G小金刚 | 旗舰长续航',
    //price:'1099起',
    id: 'MO'
},
{
    urlImg: '../images/24.jpg',
    goods: '小米电视6 65" OLED',
    introduce: '小米电视6 65" OLED',
    price: '6999.00',
    id: 'xo'
},
{
    urlImg: '../images/25.jpg',
    goods: '小米电视6 至尊版 65英寸',
    introduce: '画质新境界',
    price: '7999.00',
    id: 'hx'
},
{
    urlImg: '../images/26.jpg',
    goods: '小米电视 ES55 2022款',
    introduce: '多分区,画质轻旗舰',
    price: '2899.00',
    id: 'dh'
},
{
    urlImg: '../images/27.jpg',
    goods: '米家互联网对开门冰箱 540L',
    introduce: '重磅新品福利特惠',
    price: '2799.00',
    id: 'zb'
},
{
    urlImg: '../images/28.jpg',
    //goods: '小米电视6 65" OLED',
    //introduce: '小米电视6 65" OLED',
    //price: '6999元',
    id: 'ds'
},
{
    urlImg: '../images/29.jpg',
    goods: '米家超薄电磁炉',
    introduce: '纤薄美学,精准猛火',
    price: '399.00',
    id: 'xb'
},
{
    urlImg: '../images/30.jpg',
    goods: '米家集尘扫拖机器人',
    introduce: '自动倒垃圾,45天手不沾尘',
    price: '2599.00',
    id: 'zd'
},
{
    urlImg: '../images/31.jpg',
    goods: 'Redmi全自动波轮洗衣机1A 8kg',
    introduce: '一键操作,父母都爱用',
    price: '799.00',
    id: 'xyj'
},
{
    urlImg: '../images/32.jpg',
    goods: '米家电烤箱',
    //introduce: '小米电视6 65" OLED',
    price: '269.00',
    id: 'kx'
},
{
    urlImg: '../images/33.jpg',
    //goods:'Redmi Note 10 5G',
    //introduce:'5G小金刚 | 旗舰长续航',
    //price:'1099起',
    id: 'MP'
},
{
    urlImg: '../images/34.jpg',
    goods: 'Xiaomi Sound',
    introduce: '小米高保真智能音箱',
    price: '499.00',
    id: 'xyx'
},
{
    urlImg: '../images/35.jpg',
    goods: '小米路由器AX3000',
    introduce: '小米路由器AX3000',
    price: '349.00',
    id: 'lyq'
},
{
    urlImg: '../images/36.jpg',
    goods: 'Redmi路由器AX3000',
    introduce: '极速wifi,更快一步',
    price: '249.00',
    id: 'jsl'
},
{
    urlImg: '../images/37.jpg',
    goods: '小米全自动智能门锁Pro',
    introduce: '一步到位,全面高能',
    price: '2199.00',
    id: 'znp'
},
{
    urlImg: '../images/38.jpg',
    //goods: '小米电视6 65" OLED',
    //introduce: '小米电视6 65" OLED',
    //price: '6999元',
    id: 'dty'
},
{
    urlImg: '../images/39.jpg',
    goods: '小米智能门锁 E',
    introduce: '告别钥匙,畅享便捷生活',
    price: '999.00',
    id: 'zne'
},
{
    urlImg: '../images/40.jpg',
    goods: '小米小爱音箱Play',
    introduce: '听音乐、语音遥控家电',
    price: '99.00',
    id: 'xay'
},
{
    urlImg: '../images/41.jpg',
    goods: '米家智能窗帘',
    introduce: '窗帘开合随心控',
    price: '799.00',
    id: 'cl'
},
{
    urlImg: '../images/42.jpg',
    goods: '小米体脂称2',
    //introduce: '小米电视6 65" OLED',
    price: '99.00',
    id: 'tzc'
},
{
    urlImg: '../images/43.jpg',
    //goods:'Redmi Note 10 5G',
    //introduce:'5G小金刚 | 旗舰长续航',
    //price:'1099起',
    id: 'phc'
},
{
    urlImg: '../images/44.jpg',
    goods: '小米降噪耳机 Pro FlipBuds Pro',
    introduce: '主动降噪,超长续航',
    price: '759.00',
    id: 'zdj'
},
{
    urlImg: '../images/45.jpg',
    goods: 'Redmi AirDots 3 Pro',
    introduce: '智能降噪 超低延迟',
    price: '279.00',
    id: 'dyc'
},
{
    urlImg: '../images/46.jpg',
    goods: '小米手环6 NFC版',
    introduce: '全屏实力',
    price: '249.00',
    id: 'qps'
},
{
    urlImg: '../images/47.jpg',
    goods: 'Redmi AirDots 2真无线蓝牙耳机',
    introduce: '支持蓝牙5.0,自动秒连，拿起就能用',
    price: '79.00',
    id: 'mly'
},
{
    urlImg: '../images/48.jpg',
    //goods: '小米电视6 65" OLED',
    //introduce: '小米电视6 65" OLED',
    //price: '6999元',
    id: 'sdp'
},
{
    urlImg: '../images/49.jpg',
    goods: 'Redmi 手表',
    introduce: '35g超轻/1.4"大屏/多功能NFC/7天长...',
    price: '299.00',
    id: 'qdg'
},
{
    urlImg: '../images/50.jpg',
    goods: '小米真无线蓝牙耳机Air 2 Pro',
    introduce: '主动降噪/持久续航/无线充',
    price: '429.00',
    id: 'wxx'
},
{
    urlImg: '../images/51.jpg',
    goods: '小米手表Color 运动版',
    introduce: '超长续航,支持血氧功能',
    price: '649.00',
    id: 'xyg'
},
{
    urlImg: '../images/52.jpg',
    goods: '高速无线充套装',
    //introduce: '小米电视6 65" OLED',
    price: '149.00',
    id: 'wxt'
},
{
    urlImg: '../images/53.jpg',
    //goods:'Redmi Note 10 5G',
    //introduce:'5G小金刚 | 旗舰长续航',
    //price:'1099起',
    id: 'jsq'
},
{
    urlImg: '../images/54.jpg',
    goods: '高速无线充套装',
    introduce: '快速无线闪充,Qi充电标准',
    price: '149.00',
    id: 'gwc'
},
{
    urlImg: '../images/55.jpg',
    goods: '小米无线充电宝青春版10000mAh',
    introduce: '能量满满,无线有线都能充',
    price: '129.00',
    id: 'xcb'
},
{
    urlImg: '../images/56.jpg',
    goods: '小米插线板(含3口USB 2A快充)',
    introduce: '3个USB充电口,支持快充',
    price: '58.00',
    id: 'xcx'
},
{
    urlImg: '../images/57.jpg',
    goods: '米家魔方转换器',
    introduce: '方寸之间,能量无限',
    price: '58.00',
    id: 'mfz'
},
{
    urlImg: '../images/58.jpg',
    //goods: '小米电视6 65" OLED',
    //introduce: '小米电视6 65" OLED',
    //price: '6999元',
    id: 'dys'
},
{
    urlImg: '../images/59.jpg',
    goods: '米家筋膜枪',
    introduce: '米家筋膜枪',
    price: '499.00',
    id: 'jmq'
},
{
    urlImg: '../images/60.jpg',
    goods: '米家插线板6位基础版(含3口U...)',
    introduce: '小巧设计,便捷不沾地儿',
    price: '69.00',
    id: 'jcd'
},
{
    urlImg: '../images/61.jpg',
    goods: '小米车载充电器快充版',
    introduce: '双口快充,安全稳定',
    price: '69.00',
    id: 'czc'
},
{
    urlImg: '../images/62.jpg',
    goods: '小米无线车充',
    //introduce: '小米电视6 65" OLED',
    price: '169.00',
    id: 'wcc'
},
{
    urlImg: '../images/63.jpg',
    //goods:'Redmi Note 10 5G',
    //introduce:'5G小金刚 | 旗舰长续航',
    //price:'1099起',
    id: 'bwb'
},
{
    urlImg: '../images/64.jpg',
    goods: '米家声波电动牙刷T300',
    introduce: '31000次/分钟震动,刷的干净',
    price: '99.00',
    id: 'mjs'
},
{
    urlImg: '../images/65.jpg',
    goods: '米家声波电动牙刷T500',
    introduce: '刷的干净,智能护齿',
    price: '149.00',
    id: 'sdj'
},
{
    urlImg: '../images/66.jpg',
    goods: '米家声波电动牙刷T700',
    introduce: '米家声波电动牙刷T700',
    price: '329.00',
    id: 'dds'
},
{
    urlImg: '../images/67.jpg',
    goods: '米家电动剃须刀 S700',
    introduce: '陶瓷净须,开局之作',
    price: '299.00',
    id: 'tcj'
},
{
    urlImg: '../images/68.jpg',
    //goods: '小米电视6 65" OLED',
    //introduce: '小米电视6 65" OLED',
    //price: '6999元',
    id: 'xbb'
},
{
    urlImg: '../images/69.jpg',
    goods: '米家电动剃须刀 S100',
    introduce: '浮动双刀头 全身水洗',
    price: '59.9.00',
    id: 'fds'
},
{
    urlImg: '../images/70.jpg',
    goods: '米米家电动剃须刀 S500',
    introduce: '浮动贴面更干净,减压设计更舒适',
    price: '149.00',
    id: 'jyt'
},
{
    urlImg: '../images/71.jpg',
    goods: '米家电动剃须刀 S300',
    introduce: '青年"无须"选择',
    price: '89.00',
    id: 'txd'
},
{
    urlImg: '../images/72.jpg',
    goods: '日常元素抽纸',
    //introduce: '青春版24包/箱',
    price: '26.00',
    id: 'rcc'
},
/* {
    urlImg: '../images/73.jpg',
    goods: '2021年春季新品发布会第一场',
    //introduce: '浮动双刀头 全身水洗',
    //price: '59.9元',
    id: 'fbh'
},
{
    urlImg: '../images/74.jpg',
    goods: 'Redmi 10X系列发布会',
    introduce: 'Redmi 10X系列发布会',
    //price: '149元',
    id: 'hmf'
},
{
    urlImg: '../images/75.jpg',
    goods: '小米10 青春版 发布会',
    //introduce: '青年"无须"选择',
    //price: '89元',
    id: 'qcb'
},
{
    urlImg: '../images/76.jpg',
    goods: '小米10 8K手机拍大片',
    //introduce: '青春版24包/箱',
    //price: '25.9元',
    id: 'pdp'
}, */
]
localStorage.setItem('pros', JSON.stringify(arr))
//sessionStorage.setItem('pros', JSON.stringify(arr))